
-- rsync server-lua-code and update
local FOO = {
    shell_ver = '20211018_01',
};


FOO.content =
[[
echo task begin
cd /usr/local/openresty/nginx/

echo ========commhm================================
/home/rsync_lua_modules.sh commhm
/home/rsync_lua_modules.sh commhm/resty
/home/rsync_lua_modules.sh client_config
/home/rsync_lua_modules.sh html_page


echo ========center_keeper================================
/home/rsync_lua_modules.sh center_server
/home/rsync_lua_modules.sh keeper_server


if   [ "$1" == "1" ]; then
    echo ========ma_gate================================
    /home/rsync_lua_modules.sh ma_gate
elif [ "$1" == "2" ]; then
    echo ========dc_gate_data_cache================================
    /home/rsync_lua_modules.sh dc_gate
    /home/rsync_lua_modules.sh data_cache
elif [ "$1" == "10" ]; then
    echo ========map================================
    /home/rsync_lua_modules.sh map
else
    echo only commhm and keeper update ok
fi


echo task over
]];


return FOO;
